/** 超出边界的错误 */
export class IndexOutOfBoundsError extends Error {
    name = 'IndexOutOfBoundsError';
    constructor (msg?: string) {
        super(msg ? msg : 'index out of bounds');
    }
}